package com.tg.pojo.entity;

import lombok.Data;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * @Author
 * @Description
 * @Date 2022/3/28
 */
@Data
public class TrainMessage implements Serializable {

    @Column(name = "message_id")
    private Integer messageId;   //火车座位信息的id



    @Column(name = "super_seat")
    private String superSeat; //特等座

    @Column(name = "super_seat_price")
    private Double superSeatPrice; //特等座价格

    @Column(name = "first_seat")
    private String firstSeat; // 一等座


    @Column(name = "first_seat_price")
    private Double firstSeatPrice; // 一等座


    @Column(name = "second_seat")
    private   String  secondSeat;// 二等座


    @Column(name = "second_seat_price")
    private   Double  secondSeatPrice;// 二等座

    @Column(name = "null_seat")
    private String nullSeat;// 无座
}
